package com.zzxy.spring.controller;

import com.zzxy.spring.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Controller;

@Controller("stuController")
public class StudentController {
    @Autowired
    private IStudentService studentService;

    public void register(){
        studentService.saveStudent();
    }
}
